package com.example.demo.Mapper;

import com.example.demo.Bean.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductsMapper {
    List<ProductsShow> getShowProduct(SelectParameter selectParameter);
    int getCountProduct(SelectParameter selectParameter);
    List<ProductsShow> getShowCategory(SelectParameter selectParameter);
    int getCountCategory(SelectParameter selectParameter);
    List<ProductsShow> getShowByLike(LikeParameter likeParameter);
    List<ProductsShow> getAllShowLike(String title);
    Detail getDetailProduct(DetailParameter detailParameter);
    List<Comment> getComment(CommentParameter commentParameter);
}
